//
//  GGZFBOptionFlowlayout.m
//  Gunterapple
//
//  Created by 热带雨林 on 2020/4/3.
//  Copyright © 2020 热带雨林. All rights reserved.
//

#import "GGZFBOptionFlowlayout.h"

@implementation GGZFBOptionFlowlayout
- (void)prepareLayout{
    [super prepareLayout];
    self.scrollDirection = UICollectionViewScrollDirectionVertical;
    //此处是因为存在有不同的cell高度,所以需要使用代理方法进行设置
//    self.itemSize = CGSizeMake((self.collectionView.frame.size.width - 2) / 2, 100);
    self.sectionInset = UIEdgeInsetsMake(0, 0, 20, 0);
    self.minimumLineSpacing = 1;
    self.minimumInteritemSpacing = 1;
}

@end
